Description
The HalfEdgeMesh.FaceHandle.<Clone>$
method is a compiler-generated method that creates a copy of the current FaceHandle
instance. This method is typically used internally by the compiler and may not be directly accessible or intended for direct use in user code.
Usage
Since <Clone>$
is a compiler-generated method, it is not intended to be used directly in your code. Instead, you should use the public API provided by the HalfEdgeMesh.FaceHandle
class to interact with face handles.
Example
// Example of using HalfEdgeMesh.FaceHandle
// Assuming you have a HalfEdgeMesh instance
HalfEdgeMesh mesh = new HalfEdgeMesh();
// Accessing a FaceHandle
HalfEdgeMesh.FaceHandle faceHandle = mesh.GetFaceHandle(0);
// Checking if the FaceHandle is valid
if (faceHandle.IsValid)
{
// Do something with the valid face handle
Console.WriteLine($"FaceHandle Index: {faceHandle.Index}");
}
// Accessing the edge associated with the face
HalfEdgeMesh.HalfEdgeHandle edgeHandle = faceHandle.Edge;
// Note: The <Clone>$ method is not used directly.